import request from '@/utils/http.js';

// 用户信息

export function getUser() {
    return request({
        url: 'api/Users/GetUser',
        method: 'GET'
    })
}

// 进期收益

export function ProfitList(query) {
    return request({
        url: 'api/H5/ProfitList',
        method: 'POST',
        data: query
    })
}


// 专家排行榜

export function getList(query) {
    return request({
        url: 'api/H5/IncomeList',
        method: 'POST',
        data: query

    })
}

// 获取提现信息

export function WithdrawalMessage() {
    // console.log('aaaaaaaaaaaaaaaaaaaaaaaaa');
    return request({
        url: 'api/WorkOrder/GetTxConfig',
        method: 'GET'

    })
}
// 申请提现

export function WorkOrderAddTx(query) {
    return request({
        url: 'api/WorkOrder/AddTx',
        method: 'POST',
        data: query
    })
}